<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>
        登录
    </title>
    <link href="{{ url_for('static',filename='css/account/images/css5.css',_external=True) }}" rel="stylesheet"
          type="text/css"/>
</head>
<body>
<form action="#" method="post" name="search_news" id="formsearch">
    <input type="hidden" name="show" value="title"/>
    <div></div>
    <div></div>
    <div class="main">
        <div class="con">
            <div class="contation">
                <div class="register">
                    <h1 align="center" style="position: relative;top:30px">千锋新闻</h1>
                    <div class="registercon">
                        <div class="write" style="margin-top: 75px">
                            <span>用户名:</span>
                            {{ form.username }}
                        </div>
                        <div class="write">
                            <span>密码:</span>
                            {{ form.password }}
                        </div>
                        {{ form.csrf_token }}
                    </div>
                    {{ form.csrf_token }}
                    <div class="check"
                         style="background:{{ url_for('static',filename='css/account/images/check.png',_external=True) }};margin-top: 50px">
                        <a id="lbtnSearch" onclick="document.getElementById('formsearch').submit()">登录</a></div>
                    <div class="shuoming">&nbsp;&nbsp;&nbsp;&nbsp;
                    </div>
                </div>
                <p class="msg" style="color: red;margin-left: 52%">
                    {% for error in errors %}
                        <span style="font-size: 20px">{{ error[0] }}</span>
                    {% endfor %}
                </p>
            </div>
        </div>
    </div>
</form>
</body>
</html>